node-editor: Allow dragging and dropping the center picture
authorBenjamin Otte <otte@redhat.com>
Fri, 20 Aug 2021 03:52:54 +0000 (05:52 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 30 Aug 2021 04:02:16 +0000 (06:02 +0200)
commit2863095f063c7ac153e6f30e0ad579566ab53648
treeaafa38faa613f32ad2d533cd09c8f7b5cb45dbd2
parentcbc050b9ed6708e84c0a97f327400d08512ad65f
node-editor: Allow dragging and dropping the center picture

Dragging will just drag the render node.

Dropping will replace the current contents of the textview with the
dropped node.

Neat side effect: You can drag the node onto itself to do a
deserialize/serialize of the current text.
demos/node-editor/node-editor-window.c
demos/node-editor/node-editor-window.ui